import request from '@/utils/request'
import app from '../../App'

export function getDeviceLoadRatio(date) {
  return request({
    url: app.BASE_URL + '/getDeviceLoadRatioByDateInDay/' + date,
    method: 'get',
  })
}

export function getStaffLoadRatio(date) {
  return request({
    url: app.BASE_URL + '/getStaffLoadRatioByDateInDay/' + date,
    method: 'get',
  })
}

export function getLoadRatio(date) {
  return request({
    url: app.BASE_URL + '/getResourceLoadRatioByDateScope/' + date,
    method: 'get',
  })
}
